// test flow control
function fn( ct ) {
	f1( ct, ff );
	f2( ct, ff );
	function ff( msg ) {
		console.log( msg );
		var ct = parseInt(msg.split('=')[1]) - 1;
		if( ct ) fn( ct-- );
	}
}
function f1( ct, next ) { next( "f1="+ct ); }
function f2( ct, next ) { next( "f2="+ct ); }
